home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_f / feedback.zip / GENERAL.DOC < prev    next >
Text File  |  1991-03-25  |  10KB  |  210 lines

  1. PEANUT software should run on all IBM compatibles.  It
  2. is only necessary that the appropriate graphics
  3. interface file be present.  If these programs are
  4. copied, it is therefore important that the appropriate
  5. file *.BGI be copied, too.  The programs automatically
  6. try to select the finest graphics mode; to override the
  7. default selection, press Ctrl-G (this will be necessary
  8. with the ATT 6300, for example).  The programs are
  9. compiled with Borland's Turbo Pascal, version 5.5.  If
  10. the host computer has a numeric coprocessor (in other
  11. words, an 8087 chip), these programs will try to take
  12. advantage of it.  Most of the programs have associated
  13. documentation files *.DOC; you are reading one now!
  14.  
  15. Interaction with the computer takes two forms:   Either
  16. the user is making menu selections or else the user is
  17. providing buffered input (that is, numbers or names). 
  18. In the former case, no ENTER is required - touching a
  19. single key (perhaps in combination with the Ctrl key)
  20. does the job.  In the latter case, however, the computer
  21. has to be told when the input is complete, and this
  22. requires ENTER as a signal.  When the computer is
  23. waiting for this type of input, a box will open up on
  24. the screen, into which the necessary information is to
  25. be typed.  One may edit the data in the box, using the
  26. left and right arrow keys to move the cursor.  If the
  27. first keypress of an editing session is not an editing
  28. keypress (an arrow, say), the input box is emptied.
  29.  
  30. There are a few standard control-key codes.  For
  31. example, Ctrl-C clears the graphics window, Ctrl-P is
  32. for printing, Ctrl-W gets the window reset menu, Ctrl-F
  33. gets function library menus, and Ctrl-END ends programs. 
  34. If one tires of the random message melodies (there are
  35. 361293 of them), Ctrl-O switches the sound off (or on). 
  36. Other Ctrl-keys are described below.  Alt-C allows the
  37. user to assign new values to the twenty-six variables
  38. A..Z.  Pressing the desired letter displays the current
  39. value of that letter, and pressing = activates the input
  40. process.  In each program, Ctrl-K calls up a menu of all
  41. the available special keys.  These keys are usually not
  42. mentioned elsewhere in the menus.  
  43.  
  44. Whenever the program is in a scrolling mode (the arrow
  45. keypad used to examine a text or a table), one can
  46. request a search by pressing ENTER.  The program finds
  47. the first instance of the string you enter, and places
  48. it in the window, usually on the top display line.  The
  49. search is not case-sensitive.  For example, to scroll
  50. through THIS file, together with a program-specific help
  51. file, just press ?.  The necessary *.DOC files must be
  52. found in the current directory.
  53.  
  54. The function interpreter built into the programs has
  55. been taught to understand most elementary function names
  56. (sin, cos, tan, csc, sec, cot, ln, log, exp, sinh, cosh,
  57. tanh, arcsin, arccos, arctan, int, sqr = square root,
  58. abs, and !) as well as some unconventional ones:
  59. root(n,x) = nth root of x; pow(n,x) = nth power of x;
  60. iter(n,f(x)) = n-fold iteration of f(x); max(a,b,..);
  61. min(a,b,..); sgn(x) = x/abs(x); frac(x) = x-int(x);
  62. binom(n,r) = n!/r!/(n-r)!; join(f|c,g|d,...,h) =
  63. function defined by y=f(x) for x<=c, y=g(x) for c<x<=d,
  64. ..., and y=h(x) for remaining x-values; sum(b,f(n,x)) =
  65. sum of f(n,x) for n=0 to n=b; prod(b,f(n,x)) = product
  66. of f(n,x) for n=0 to n=b.  In the latter two cases, the
  67. indexing variable defaults to n and the starting value
  68. defaults to 0, but both can be adjusted by means of the
  69. Ctrl-Function library menu.
  70.  
  71. If the host computer is new enough, the user will be
  72. able to choose between pi and Ctrl-P, sqr and Ctrl-S,
  73. and sq (or ^2) and Ctrl-E; these Ctrl-key presses insert
  74. the correct graphics characters into the text.  
  75.  
  76. It is required that parentheses be used in function
  77. calls.  The user is permitted to add to the library of
  78. function names, by calling up the New Names submenu of
  79. the Function library menu.  Each new function name is
  80. limited to six alphabetic characters (no numerals).  The
  81. variables used to define the new functions are of no
  82. significance; OSC(T)=SIN(1/T) produces the same result
  83. as OSC(X)=SIN(1/X), that is.
  84.  
  85. The usual signs of algebra are used.  Exponentiation may
  86. be denoted ^.  The multiplicative * can usually be left
  87. out.  For example, 2x is interpreted to mean 2*x. 
  88. However, pix is not read pi*x.   Any letter can be used
  89. as a numerical variable, and assigned a specific value
  90. at any time, via the Alt-C option (see above).  For
  91. example, axx + bx + c stands for a general quadratic
  92. function, whose coefficients may be adjusted at will,
  93. without the necessity of retyping the formula every
  94. time.  Any string of letters and numbers will be treated
  95. as a product of constants and variables, if it is not
  96. found in the library of function names.  In particular,
  97. note that xpi is read as x*pi, whereas pix is read as
  98. p*i*x.  The process of translation starts at the left
  99. end of every string.  Upper and lower cases are not
  100. distinguished.  Brackets, braces, and parentheses may
  101. all be used as grouping symbols.
  102.  
  103. It is occasionally convenient to be able to enter
  104. numerical input in non-decimal form;  sqr(3) instead of
  105. 1.732, 2pi instead of 6.28, etc.  This is usually
  106. allowable.
  107.  
  108. In many of the graphics programs, it is desirable or
  109. necessary to move the viewing window around or to change
  110. its size.  This is done by adjusting either the Width of
  111. the frame or the coordinates (Horiz and Vert) of the
  112. Center.  For blowups, there is a rigid tenfold Zoom
  113. window.  When coordinate axes are showing, it is
  114. occasionally necessary to regulate the scale markings on
  115. the axes, by means of the Units/tick settings.  For
  116. example, setting Horiz = pi/2 might be desirable when
  117. graphing trigonometric functions.  For another, if the
  118. viewing window showed x-values from -60 to 120, it would
  119. be of no use to have 180 divisions marked on the x-axis. 
  120. In this case, one could simply direct the computer to
  121. mark every tenth one (Horiz = 10), which produces a less
  122. confusing image.  In fact, if a window request causes
  123. the program to mark more than about fifty tick marks on
  124. an axis, it will automatically adjust the setting for
  125. that axis.  One may compress or expand the vertical
  126. Scale, relative to the scale on the horizontal axis. 
  127. One may also blow up a (small) portion of the window
  128. with a Flexible window, defined by Marking one corner
  129. and then moving to the opposite corner and pressing
  130. ENTER.  Because the shape of the resulting box is
  131. variable, this procedure will necessarily distort the
  132. vertical scale.  When you are done with the tiny window,
  133. the screen can be restored to its nominal appearance, by
  134. pressing Default in the main Window menu.  It is also
  135. possible to define a window by specifying the four
  136. Extreme values of the variables.  This will probably
  137. also distort the vertical scale.
  138.  
  139. Sending images to your printer is fairly easy, unless
  140. you wish to avoid the built-in distortion that computing
  141. machinery produces.  In other words, your circles may
  142. not look like circles, and perpendicular lines may
  143. appear to be non-perpendicular.  It is possible to
  144. compensate for this effect by adjusting the Vertical
  145. scale in the Window Change menu, but only before the
  146. drawing is done.  You will have to experiment a bit. 
  147. The unfortunate rule is that drawings can appear correct
  148. either on the screen or on the printer, but seldom on
  149. both.  Overhead projection devices complicate matters
  150. even more.
  151.  
  152. Most procedures are interruptible.  If you do not want
  153. to finish a drawing (or a game) in progress (whether on
  154. the screen or on your printer), just press Esc.
  155.  
  156. In the event that a program creates files, the program
  157. will prompt the user for filenames, and it will
  158. understand if files on other drives are specified.  For
  159. example, an elaborate geometric construction could be
  160. stored as B:GOLDEN, which tells the computer not only
  161. what the file is to be named (GOLDEN), but also where
  162. the file is to be placed (on drive B).  This also
  163. applies to file retrieval, of course.  Do not include
  164. extensions in your filenames -  they will be ignored. 
  165. (Each program assigns special extensions.)
  166.  
  167. Some of the plotting programs are equipped with a menu
  168. that allows one to add text to diagrams.  This feature
  169. is activated with the Ctrl-Add/Del Text key.  The
  170. displayed text string can be placed anywhere in the
  171. figure.  When you request Write, the text is centered at
  172. the cursor position, and stored as part of the figure;
  173. when you request Erase, it is removed from the record.  
  174.  
  175. Many of these programs are equipped with small pop-up
  176. windows, activated with the function keys F1 .. F4, and
  177. deactivated with Ctrl-F1 .. Ctrl-F4.  Side-by-side
  178. comparisons of related graphs are thus made possible. 
  179. Windowing commands (issued through Ctrl-C or Ctrl-W) are
  180. always applied to whichever of the five windows is
  181. currently active.
  182.  
  183. If your graphics card allows, the programs will run in
  184. color.  The Ctrl-H key calls up a color menu.  Tapping
  185. the spacebar cycles through other color combinations for
  186. the frame, text, and message colors, randomly assigned
  187. when the program starts.
  188.  
  189. Printer support is provided for the standard dot-matrix
  190. printer, as well as the Hewlett-Packard LaserJet and
  191. PaintJet printers. To get the printing menu, use Ctrl-P. 
  192. The Device switch steps through the available printers. 
  193. The Region switch selects how much of the screen is to
  194. be copied: everything, or else just the graphing window. 
  195. One may also associate specific screen colors with
  196. printed colors (black, white, and shades of gray for
  197. printers that can not produce color).  For simple black-
  198. and-white images, there should be no need to change the
  199. default settings; just press P for action.  If the
  200. program does not detect a printer online, it will tell
  201. you so.
  202.  
  203. This program is in a state of perpetual revision.  You
  204. may obtain an up-to-date copy at any time by sending a
  205. formatted diskette (360K, 720K, or 1.2M) and a prepared
  206. mailer to
  207.       Richard Parris
  208.       Phillips Exeter Academy
  209.       Exeter NH         03833
  210. Comments and suggestions welcome.  Tel: (603)-772-1044